<?php
echo $this->Form->hidden('user_id', array('value' => $this->Session->read('Auth.User.id')));
echo $this->Form->input('date', array('label' => 'Fecha de Emision', 'type' => 'date', 'dateFormat' => 'DMY'));
echo $this->Form->input('client_company_id', array('label' => 'Empresa Contratante'));
echo $this->Form->input('company_id', array('label' => 'Transporte a cargo', 'empty' => 'Seleccionar Transporte'));

echo $this->Form->input('driver_id', array('label' => 'Chofer', 'empty' => 'Seleccionar Chofer'));
echo $this->Form->input('vehicle_id', array('label' => 'Camion Asignado'));
echo $this->Form->input('coupled_id', array('label' => 'Acoplado Asignado'));
echo $this->Form->input('product_id', array('label' => 'Carga', 'size' => sizeof($products)));

echo $this->Form->input('details', array('label' => __('Detalle de la Carga'), 'type' => 'textarea'));
echo $this->Form->input('origin', array('label' => __('Origen'), 'empty' => 'Ciudad De Origen'));
echo $this->Form->input('destination', array('label' => __('Destino'), 'empty' => 'Ciudad De Destino'));
echo $this->Form->input('debit', array('label' => __('Debe ($)'), 'autocomplete'=>'off'));
echo $this->Form->input('credit', array('label' => __('Haber ($)'), 'autocomplete'=>'off'));
echo $this->Form->input('total', array('label' => __('Total ($)'), 'readonly'=> 'readonly', 'autocomplete'=>'off'));
?>
